#include<stdio.h>

int main()
{
    char c;
    int cnt = 0;
    while((c = getchar()) != '\n')
    {
        if (c != 'A' && c != 'E' && c != 'I' && c != 'O' && c != 'U' && c >= 'A' && c <= 'Z')
        {
            cnt++;
        }
    }
    printf("%d", cnt);

    return 0;
}